#include "Application.h"
#include "GameEngine.h"
#include "MainMenu.h"
#include "GameOverMenu.h"
#include "EditorMenu.h"

int main (int argc, const char * argv[])
{
    Application app;
    app.addEngine(Application::GAME, new GameEngine(&app));
    app.addEngine(Application::MAIN_MENU, new MainMenu(&app));
    app.addEngine(Application::GAME_OVER, new GameOverMenu(&app));
    app.addEngine(Application::EDITOR, new EditorMenu(&app));
    app.setActiveMode(Application::MAIN_MENU);
    app.launch();
    return 0;
}
